#pragma once
#include"cocos2d.h"

class ControlLayer :public cocos2d::Layer
{
public:
	ControlLayer() {}
	~ControlLayer() {}
	
	CREATE_FUNC(ControlLayer);

	bool init();

protected:
	void CallNextBack(cocos2d::CCObject* sender);
	void CallButtonOneBack(cocos2d::CCObject* sender);
	void CallButtonTwoBack(cocos2d::CCObject* sender);
	void CallMusicBack(cocos2d::CCObject* sender);
	void CallMusicMenuBack(cocos2d::CCObject* sender);
	void CallSaveScreenBack(cocos2d::CCObject* sender);

private:
	cocos2d::CCLayerColor* m_layerColor = nullptr;
};
